]> dgit.raspbian.org Git - gnome-shell.git/commit
js/environment: Add GLib spawn async overrides warning when using child setup
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 30 Apr 2024 23:17:10 +0000 (01:17 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 24 May 2024 22:48:53 +0000 (22:48 +0000)
commit494be307649f20aaed53113f3c1ff740980a5992
tree2c5c53a0596bb35a34ccc2c8d4cd21b5da9decd9
parent26e8fb90fb595510240c57b0862013dbf4739770
js/environment: Add GLib spawn async overrides warning when using child setup

Using child setup functions is unsafe in gjs code so let's warn if this
happens so that extensions using a similar codepath are warned.

This could be also part of gjs, but we provide a shell override since we
have alternatives to log about.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3293>
js/ui/environment.js